change sorting of methods