I have a table with following schema. I need to sort table by points, and if rows wiith img_link present (not null) come first also. Simply need to do is - sort by int column, then by varchar column.
+-----+--------+-----------+-----------+
| id | name | img_link | points |
+-----+--------+-----------+-----------+
| 11 | smpl | path.jpg | 10 |
+-----+--------+-----------+-----------+
| 12 | main | null | 20 |
+-----+--------+-----------+-----------+
| 13 | abcd | null | 10 |
+-----+--------+-----------+-----------+
| 14 | xyls | img_.png | 10 |
+-----+--------+-----------+-----------+
Need a result like
+-----+
| id |
+-----+
| 12 |
+-----+
| 11 |
+-----+
| 14 |
+-----+
| 13 |
+-----+