$sticky = [get_option](http://codex.wordpress.org/Function_Reference/get_option)( 'sticky_posts' );
$not_in = [];
$args_catsticky = new [WP_Query](http://codex.wordpress.org/Class_Reference/WP_Query)([
'posts_per_page'=>-1,
'post__in' => $sticky,
'cat'=>'1',
'fields'=>'ids',
]);
if($args_catsticky->[have_posts](http://codex.wordpress.org/Function_Reference/have_posts)()) {
$not_in = $args_catsticky->posts;
}
$args_ordinary = array(
'post_type'=>'post',
'cat'=>'1',
'posts_per_page'=>5,
'paged'=>$paged,
'orderby'=>'date',
);
if(!empty($not_in)) $args_ordinary['post__not_in'] = $not_in;
$args_sticky = array(
'posts_per_page' => 5,
'post__in' => $sticky,
'post_type' => 'post',
);