Refactor if statement, rename var l to arr_len
Refactor if statement, rename var l to arr_len

Refactored the conditional in sort() to remove a nested if and
align comments. Renamed variable l to arr_len for readability.

timpel/stanford-algs,timpel/stanford-algs