Let's say we have products with title, position and source.
http://rextester.com/live/TCFOBJ26312
I need to order the products by string pattern 'basse'. After order products should look like:
id title source position
9 prod 9 b 0
1 prod 1 a 0
13 prod 13 s 0
14 prod 14 s 1
5 prod 5 e 0
10 prod 10 b 1
2 prod 2 a 1
15 prod 15 s 2
16 prod 16 s 3
6 prod 6 e 1
11 prod 11 b 2
3 prod 3 a 2
7 prod 7 e 2
12 prod 12 b 3
4 prod 4 a 3
8 prod 8 e 3