Fixes formatting and adds method call for ordering