1. An electronic device, comprising: a storage system; at least one processor; and one or more programs stored in the storage system and being executable by the at least one processor, the one or more programs comprising: an initializing module to: create an order parameter, a basic count parameter, and a carry count parameter to menu options of a program menu of a user interface of the electronic device; assign an initial order value to each order parameter, and assign an initial basic count value to each count parameter; and assign an initial carry count value to each carry count parameter; a monitoring module to determine if any of the menu options in the program menu have been selected, or if a new menu option has been added to a designated position of the program menu, or if any of the menu options have been deleted from the program menu; a first sorting module to recalculate the order parameters, the basic count parameters, and the carry count parameters of the menu options in response to a user-selected menu option in the program menu, by means of: adding a first predetermined value to the basic count parameter of the user-selected menu option; and restoring the basic count parameter of the user-selected menu option to the initial basic count value and adding a second predetermined value to the carry count parameter of the user-selected menu option upon condition that the basic count parameter of the user-selected menu option is greater than a predetermined base and the user-selected menu option is at the first position of the program menu; a second sorting module to recalculate the order parameters, the basic count parameters, and the carry count parameters of the menu options in response to a user-added menu option into the program menu; a third sorting module to recalculate the order parameters, the basic count parameters, and the carry count parameters of the menu options in response to a user-deleted menu option from the program menu; and a display module to display the menu options on a display screen of the electronic device according to the order parameters of the menu options.