# File lib/tapkit/control/sortordering.rb, line 21 def compare_ci_ascending( left, right ) left = left.upcase right = right.upcase if left > right then 1 elsif left < right then -1 else 0 end end