When creating questions using the CKEditor, the editor adds a paragraph tag around the question text.
When the question text is displayed in the Questions table in Question Pools, the markup is removed, but the sort order is not correct. Behind the scenes, it is taking into account the markup and any leading/trailing whitespace in the question text when determining the sort order.
Adding manual leading/tailing whitespace in the CKEditor will also affect the sort order.
When viewing the table, leading/tailing whitespace for questions created with the basic (text area) editor is stripped for display in the UI, but questions created with the CKEditor do not get the whitespace striped for the UI.