Apply options sorting for GUI.