<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/57454>57454</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
clang-format sort includes for standard C first
</td>
</tr>
<tr>
<th>Labels</th>
<td>
new issue
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
MaJerle
</td>
</tr>
</table>
<pre>
If there is a block of various include calls, like
```
#include "mylib.h"
#include <stdlib.h>
```
How to set clang-format to order includes to handle standard C libraries first, in `<libname.h>` and only then custom ones in `"libname.h"`?
```
#include <stdlib.h>
#include "mylib.h"
```
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJyNUV1vnDAQ_DXwYgWBwXw8-KG55JRUyo8w9gJuDI68JtH9-y5c0KVqVFWy1nhHOzsz9N5c5PPA4gQBmEWmWO-8fmV-YO8qWL8is4t2qwGmlXOY8BNz9hWS_CHJf3zWOv881ycvj5GE8_nibJ9N9PU3Wp4wmitcPn7Ptdcn_8GiZwiRaaeW8W7wYVZx6_lgIBwScetMajEOGEa6VTBs09sH8kLwYAPGzYJd2LajPBG2qBmuCuqc0RDzi7tsiSxMrxj9TA3AY4Tz2wh52kjO_xnGd3b_ndXBlYIs6rpoW9HxJjWyNF3ZqTTa6ED-EQn6EG9xUPNrELv9dA1OTjG-YVLS_jOd0cZp7TPtZ3o4935cd2_B_wJNiZ0t4gr098-iqUSVTpK0cDEIweumHahA3xddw3VZ5Ny0JM6pHhzKRNyTnwU-2E6xeRMPqZU85zxvy7xoRVs1WQVdLaAYBGhdGdUlVQ6zsi7bdGQ-jGmQu6R-HZFAZzHiDVSIdlwA9nXEr9Y4-SBf1E8IDtJ9tdyl_wbzy-aC">