sort -k1 -n -t, filename should do the trick.
-k1 sorts by column 1.
-n sorts numerically instead of lexicographically (so “11” will not come before “2,3…”).
-t, sets the delimiter (what separates values in your file) to , since your file is comma-separated.