Sorting the ContentPanes list according the order key.