Properly sorts report by boolean values