Sort order of modes in editor vs in ETC


Can someone explain the sort order of the modes in the editors mode list. It is definitely not alpha numeric, but also it is not by change date or creation date.
And what is the order on the ETC.