a simple function to order the getopt options if needed